package cn.kshost.zqyg.service.pay;

import cn.kshost.zqyg.client.product.fallback.ProductFeignFallback;
import cn.kshost.zqyg.common.service.anno.EnableUserMvcConfiguration;
import cn.kshost.zqyg.exception.anotation.EnableZqygExceptionHandle;
import cn.kshost.zqyg.service.pay.properties.AlipayProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Import;


@EnableZqygExceptionHandle
@SpringBootApplication
@EnableUserMvcConfiguration
@EnableConfigurationProperties(AlipayProperties.class)
@EnableFeignClients(basePackages = {"cn.kshost.zqyg.client.order","cn.kshost.zqyg.client.product"})
public class PayApplication {
    public static void main(String[] args) {
        SpringApplication.run(PayApplication.class, args);
    }
}
